<h1>Persons List</h1>

<table>
  <thead>
    <tr>
      <th>Login</th>
      <th>First name</th>
      <th>Last name</th>
      <th>Email</th>
      <th>Phone mobile</th>
      <th>Phone 2</th>
      <th>Country</th>
      <th>Referee level</th>
      <th>Address</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($persons as $person): ?>
    <tr>
      <td><a href="<?php echo url_for('user/show?login='.$person->getLogin()) ?>"><?php echo $person->getLogin() ?></a></td>
      <td><?php echo $person->getFirstName() ?></td>
      <td><?php echo $person->getLastName() ?></td>
      <td><?php echo $person->getEmail() ?></td>
      <td><?php echo $person->getPhoneMobile() ?></td>
      <td><?php echo $person->getPhone2() ?></td>
      <td><?php echo $person->getCountry() ?></td>
      <td><?php echo $person->getRefereeLevel() ?></td>
      <td><?php echo $person->getAddress() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('@create_account') ?>">New</a>
